package Myoopextends.a05oopextends05;

public class Test {
    public static void main(String[] args) {
        Lecturer l = new Lecturer("001","张三讲师");
        System.out.println(l.getId()+ "," + l.getName());
        l.work();

        Tutor t = new Tutor();
        t.setId("002");
        t.setName("李四助教");
        System.out.println(t.getId()+ "," + t.getName());
        t.work();
    }
}
